using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

namespace Egresados.DummyCode
{
    public class VacantesDao
    {

        public String Descripcion
        {
            get { return this._Descripcion; }
            set { this._Descripcion = value; }
        }

        public DateTime FecCreacion
        {
            get { return this._FecCreacion; }
            set { this._FecCreacion = value; }
        }

        public String NombreEmpresa
        {
            get { return this._NombreEmpresa; }
            set { this._NombreEmpresa = value; }
        }

        public String _Descripcion;
        public DateTime _FecCreacion;
        public String _NombreEmpresa;

        public VacantesDao(String Nom, String Desc, DateTime Fec)
        {
            this._Descripcion = Desc;
            this._NombreEmpresa = Nom;
            this._FecCreacion = Fec;
        }

        public static List<VacantesDao> GetDummyData()
        {
            List<VacantesDao> ReturnValue = new List<VacantesDao>();
            ReturnValue.Add(new VacantesDao("Orange Dominicana", "Programador C#", DateTime.Now.Subtract(TimeSpan.FromDays(2))));
            ReturnValue.Add(new VacantesDao("ARS Humano", "Programador SQL", DateTime.Now.Subtract(TimeSpan.FromDays(3))));
            ReturnValue.Add(new VacantesDao("Banco BHD", "Arreador Gatitos", DateTime.Now.Subtract(TimeSpan.FromDays(4))));

            return ReturnValue;
        }
    }


}
